package cn.wolfcode.mapper;

import cn.wolfcode.domain.Vote;
import cn.wolfcode.qo.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VoteMapper {


    Vote selectByPrimaryKey(Long id);

    List<Vote> selectAll();


    List<Vote> selectForList(QueryObject qo);

    void inputVoteEmployee(@Param("voteId") Long voteId, @Param("id") Long id, @Param("ovteItemId") Long ovteItemId);

    List<Vote> countVoteEmployee(Long voteId);

    List<Vote> check(Long employeeId);
}